projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea760f
)
wayland: Emit GdkKeymap::state-changed when appropriate
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Mar 2013 22:34:44 +0000
(18:34 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Mar 2013 22:34:44 +0000
(18:34 -0400)
This makes the caps lock warning in password entries work.
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index f512888ca3566cd3c4f4e95b10a3f11a09c2a816..f485269d9003bb615bf8a610de794a50d074bd6a 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-1075,6
+1075,8
@@
keyboard_handle_modifiers (void *data,
device->modifiers = mods_depressed | mods_latched | mods_locked;
xkb_state_update_mask (xkb_state, mods_depressed, mods_latched, mods_locked, group, 0, 0);
+
+ g_signal_emit_by_name (keymap, "state-changed");
}
static const struct wl_pointer_listener pointer_listener = {